<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<%@ page session="false" %>
<%@ page import="java.util.List" %>
<%@ page import="java.util.ArrayList" %>
<%@ page import="com.net.test.vo.TestVO" %>

<script>
function go_login(){
	var frm = document.writeFrm;
	frm.action = "/testLogin.ncb";
	frm.submit();
	
}
function go_view(){
	var frm = document.writeFrm;
	
	frm.action = "/testView.ncb";
	frm.submit();

}



</script>


<br />
<h1>로그인</h1> 
<br />

<form name="writeFrm" method="POST" >
	<input type="hidden" name="id1">
    <input type="hidden" name="password2">
    
	<table border="1" style="width:200px;">
		<tr>	
		
			<td>아이디 :</td>
			<td><input type="text" name="id" style="width:98;"/></td>			
		</tr>
		<tr>
			<td>비밀번호 :</td>
			<td><input type="password"  name="password" style="width:98;"/></td>
			
	</table>
	
	<input type="button" value="로그인" onclick="javascript:go_login();" />
	<input type="button" value="회원가입" onclick="javascript:go_view();" />
	
	<br /><br /><br />

</form>





